<div>
    <label class="span-3">商标名称<span class="required">*</span></label>
    <input class="text span-4" id="tm_name" name="tm_name"
           value="<?php echo set_value('tm_name', isset($trademark['tm_name']) ? $trademark['tm_name'] : ''); ?>" />

    <label class="span-3">标样<span class="required">*</span></label>
    <input class="text span-5" id="ap_sample_name" name="ap_sample_name" pathElementId="ap_sample_path" readonly="readonly"
           value="<?php echo set_value('ap_sample_name', isset($trademark['ap_sample_name']) ? $trademark['ap_sample_name'] : ''); ?>" />
    <?php $ap_sample_path = set_value('ap_sample_path', isset($trademark['ap_sample_path']) ? $trademark['ap_sample_path'] : ''); ?>
    <input type="hidden" id="ap_sample_path" name="ap_sample_path"
           value="<?php echo $ap_sample_path; ?>" />
    <?php if (!empty($ap_sample_path)): ?>
    <button class="image-link" href="<?php echo base_url(decode_upload_path($ap_sample_path)); ?>">查看图片</button>    
    <?php endif; ?>

    <div class="clear"></div>
</div>
<div>
    <label class="span-3">类别<span class="required">*</span></label>
    <input class="text span-4" id="tm_class" name="tm_class"
           value="<?php echo set_value('tm_class', isset($trademark['tm_class']) ? $trademark['tm_class'] : ''); ?>" />
    <label class="span-3">商标种类</label>
    <input class="text span-4" id="ap_trademark_type" name="ap_trademark_type"
           value="<?php echo set_value('ap_trademark_type', isset($trademark['ap_trademark_type']) ? $trademark['ap_trademark_type'] : ''); ?>" />

    <label class="span-3">指定颜色</label>
    <input class="text span-4" id="ap_color" name="ap_color"
           value="<?php echo set_value('ap_color', isset($trademark['ap_color']) ? $trademark['ap_color'] : ''); ?>" />
    <div class="clear"></div>
</div>
<div>
    <label class="span-3">指定商品<span class="required">*</span></label>
    <textarea class="span-18" id="ap_item" name="ap_item"><?php echo set_value('ap_item', isset($trademark['ap_item']) ? $trademark['ap_item'] : ''); ?></textarea>
    <div class="clear"></div>
</div>
<div>
    <label class="span-3">申请日期</label>
    <input class="text span-4 normal-date" id="application_date" name="application_date" readonly="readonly"
           value="<?php echo set_value('application_date', isset($trademark['application_date']) ? $trademark['application_date'] : ''); ?>" />

    <label class="span-3">申请号</label>
    <input class="text span-4" id="application_no" name="application_no"
           value="<?php echo set_value('application_no', isset($trademark['application_no']) ? $trademark['application_no'] : ''); ?>" />
    <div class="clear"></div>
</div>
<div>
    <label class="span-3">公告日期</label>
    <input class="text span-4 normal-date" id="ap_announcement_date" name="ap_announcement_date" readonly="readonly"
           value="<?php echo set_value('ap_announcement_date', isset($trademark['ap_announcement_date']) ? $trademark['ap_announcement_date'] : ''); ?>" />
    <label class="span-3">注册日期</label>
    <input class="text span-4 normal-date" id="ap_registration_date" name="ap_registration_date" readonly="readonly"
           value="<?php echo set_value('ap_registration_date', isset($trademark['ap_registration_date']) ? $trademark['ap_registration_date'] : ''); ?>" />
    <label class="span-3">续展日期</label>
    <input class="text span-4 normal-date" id="ap_renewal_date" name="ap_renewal_date" readonly="readonly"
           value="<?php echo set_value('ap_renewal_date', isset($trademark['ap_renewal_date']) ? $trademark['ap_renewal_date'] : ''); ?>" />
    <div class="clear"></div>
</div>
<div>
    <label class="span-3">结果</label>
    <input class="text span-18" id="result" name="result"
           value="<?php echo set_value('result', isset($trademark['result']) ? $trademark['result'] : ''); ?>" />
    <div class="clear"></div>
</div>